
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Proxy · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="正则.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="变量.html">
            
                <a href="变量.html">
            
                    
                    变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="解构.html">
            
                <a href="解构.html">
            
                    
                    解构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="字符串.html">
            
                <a href="字符串.html">
            
                    
                    字符串
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="函数.html">
            
                <a href="函数.html">
            
                    
                    函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="数组.html">
            
                <a href="数组.html">
            
                    
                    数组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="对象.html">
            
                <a href="对象.html">
            
                    
                    对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="prototype.html">
            
                <a href="prototype.html">
            
                    
                    prototype
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="Promise.html">
            
                <a href="Promise.html">
            
                    
                    Promise
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="模块化.html">
            
                <a href="模块化.html">
            
                    
                    模块化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="class和继承.html">
            
                <a href="class和继承.html">
            
                    
                    class和继承
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="this.html">
            
                <a href="this.html">
            
                    
                    this
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="Symbol和generator.html">
            
                <a href="Symbol和generator.html">
            
                    
                    Symbol和generator
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="async_await.html">
            
                <a href="async_await.html">
            
                    
                    async_await
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="Set和WeakSet.html">
            
                <a href="Set和WeakSet.html">
            
                    
                    Set和WeakSet
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="Map和WeakMap.html">
            
                <a href="Map和WeakMap.html">
            
                    
                    Map和WeakMap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="数字和Math.html">
            
                <a href="数字和Math.html">
            
                    
                    数字和Math
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="正则.html">
            
                <a href="正则.html">
            
                    
                    正则
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.19" data-path="Proxy.html">
            
                <a href="Proxy.html">
            
                    
                    Proxy
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >Proxy</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="proxy">Proxy</h1>
<p>Proxy&#x4E3B;&#x8981;&#x7528;&#x4E8E;&#x6269;&#x5C55;(&#x589E;&#x5F3A;)&#x5BF9;&#x8C61;&#x7684;&#x529F;&#x80FD;, &#x662F;&#x5178;&#x578B;&#x7684;&#x8BBE;&#x8BA1;&#x6A21;&#x5F0F;&#x4E2D;&#x7684;&#x4EE3;&#x7406;&#x6A21;&#x5F0F;  </p>
<p>&#x8BED;&#x6CD5;:  </p>
<pre><code class="lang-js"><span class="hljs-keyword">new</span> <span class="hljs-built_in">Proxy</span>(target, handler);
<span class="hljs-comment">//target: &#x88AB;&#x4EE3;&#x7406;&#x7684;&#x5BF9;&#x8C61;</span>
<span class="hljs-comment">//handler: &#x5BF9;&#x4EE3;&#x7406;&#x7684;&#x5BF9;&#x8C61;&#x505A;&#x4EC0;&#x4E48;&#x64CD;&#x4F5C;</span>
handler {
     set() {}, <span class="hljs-comment">//&#x8BBE;&#x7F6E;&#x7684;&#x65F6;&#x5019;&#x505A;&#x4E8B;&#x60C5;</span>
     get() {}, <span class="hljs-comment">//&#x83B7;&#x53D6;&#x65F6;&#x505A;&#x4E8B;&#x60C5;</span>
     deletePropery() {}, <span class="hljs-comment">//&#x5220;&#x9664;</span>
     has() {}, <span class="hljs-comment">//&#x662F;&#x5426;&#x5B58;&#x5728;</span>
     apply() {}
     ...
}
</code></pre>
<p>&#x793A;&#x4F8B;:</p>
<pre><code class="lang-js">&lt;script&gt;
let obj = {
    name: &apos;daliu&apos;
};
let newObj = new Proxy(obj, {
    get(target, p, receiver) {
        //console.log(target, p, receiver); //obj, name, Proxy
        //console.log(p); //name
        console.log(`Welcome to visit property ${target[p]}`);
        return target[p];
    }
});
console.log(newObj.name); //daliu
&lt;/script&gt;
</code></pre>
<p>&#x793A;&#x4F8B;again: &#x8BBF;&#x95EE;&#x5BF9;&#x8C61;&#x7684;&#x5C5E;&#x6027;, &#x5982;&#x679C;&#x4E0D;&#x5B58;&#x5728;&#x7ED9;&#x51FA;&#x8B66;&#x544A;&#x4FE1;&#x606F;</p>
<pre><code class="lang-js">&lt;script&gt;
let obj = {
    name:&apos;daliu&apos;
};
let proxy = new Proxy(obj, {
    get(target, p, receiver) {
        if (p in target) {
            return target[p];
        } else {
            //throw new ReferenceError(`${p} is not in ${target}`);
            console.warn(`${p} is not in ${target}`);
        }
    }
});
console.log(proxy.name); //daliu
console.log(proxy.age); //undefined
&lt;/script&gt;
</code></pre>
<p>&#x793A;&#x4F8B;again: &#x7F16;&#x5199;DOM.xxx(attribute, values), &#x65B9;&#x4FBF;&#x6DFB;&#x52A0;&#x5143;&#x7D20;</p>
<pre><code class="lang-html"><span class="hljs-meta">&lt;!DOCTYPE html&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">&quot;en&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">charset</span>=<span class="hljs-string">&quot;UTF-8&quot;</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>Title<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="actionscript">
        <span class="hljs-keyword">const</span> DOM = <span class="hljs-keyword">new</span> Proxy({}, {
            <span class="hljs-keyword">get</span>: <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(target, p, receiver)</span> </span>{
                <span class="hljs-comment">//console.log(target, p); //p: div</span>
                <span class="hljs-comment">//&#x5F53;&#x8C03;&#x7528;DOM.div(...)&#x65F6;, p&#x5C31;&#x662F;div</span>
                <span class="hljs-keyword">return</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(attr = {}, <span class="hljs-rest_arg">...children</span>)</span> </span>{
                    <span class="hljs-comment">//console.log(attr); //{id: &apos;div1&apos;}</span>
                    <span class="hljs-comment">//console.log(children); //[&apos;&#x6211;&#x662F;div&apos;, &apos;OK&apos;]</span>
                    <span class="hljs-comment">//&#x521B;&#x5EFA;&#x6807;&#x7B7E; (div,a,p...)</span>
                    <span class="hljs-keyword">const</span> element = document.createElement(p);
                    <span class="hljs-comment">//&#x6DFB;&#x52A0;&#x5C5E;&#x6027;</span>
                    <span class="hljs-keyword">for</span> (let key of Object.keys(attr)) {
                        element.setAttribute(key, attr[key]); <span class="hljs-comment">//{id:&apos;div1&apos;} =&gt; &lt;div id=&apos;idv1&apos;&gt;&lt;/div&gt;</span>
                    }
                    <span class="hljs-comment">//&#x6DFB;&#x52A0;&#x5B50;&#x5143;&#x7D20;</span>
                    <span class="hljs-keyword">for</span> (let child of children) {
                        <span class="hljs-keyword">if</span> (<span class="hljs-keyword">typeof</span> child == <span class="hljs-string">&apos;string&apos;</span>) {
                            child = document.createTextNode(child); <span class="hljs-comment">//or create innerHTML</span>
                        }
                        element.appendChild(child);
                    }
                    <span class="hljs-keyword">return</span> element;
                }
            }
        });
        let oDiv = DOM.div(
            {id:<span class="hljs-string">&apos;div1&apos;</span>}, <span class="hljs-string">&apos;&#x6211;&#x662F;div&apos;</span>, <span class="hljs-string">&apos;OK&apos;</span>,
            DOM.a({href:<span class="hljs-string">&apos;http://www.baidu.com&apos;</span>}, <span class="hljs-string">&apos;&#x8BBF;&#x95EE;&#x5B98;&#x7F51;&apos;</span>),
            DOM.ul({},
                DOM.li({}, <span class="hljs-string">&apos;AAA&apos;</span>),
                DOM.li({}, <span class="hljs-string">&apos;BBB&apos;</span>),
                DOM.li({}, <span class="hljs-string">&apos;CCC&apos;</span>)
            )
        );
        <span class="hljs-comment">//console.log(oDiv);</span>
        <span class="hljs-comment">/**
         &lt;div id=&apos;idv1&apos;&gt;
            &apos;&#x6211;&#x662F;div&apos;
            &apos;OK&apos;
            &lt;a href=&quot;http://www.baidu.com&quot;&gt;&#x8BBF;&#x95EE;&#x5B98;&#x7F51;&lt;/a&gt;
         &lt;/div&gt;
         */</span>
        window.onload = <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">()</span> </span>{
            document.body.appendChild(oDiv);
        };
    </span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<h3 id="set">set</h3>
<p>&#x793A;&#x4F8B;:
&#x8BBE;&#x7F6E;&#x4E00;&#x4E2A;&#x5E74;&#x9F84;, &#x6574;&#x6570;&#x4E14;&#x4E0D;&#x80FD;&#x5C0F;&#x4E8E;18&#x5C81;  </p>
<pre><code class="lang-html"><span class="hljs-meta">&lt;!DOCTYPE html&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">&quot;en&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">charset</span>=<span class="hljs-string">&quot;UTF-8&quot;</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>Title<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">
       <span class="hljs-keyword">let</span> proxy = <span class="hljs-keyword">new</span> <span class="hljs-built_in">Proxy</span>({}, {
           <span class="hljs-comment">//set&#x62E6;&#x622A;</span>
           set(target, p, value, receiver) {
                <span class="hljs-keyword">if</span> (p == <span class="hljs-string">&apos;age&apos;</span>) {
                    <span class="hljs-keyword">if</span> (!<span class="hljs-built_in">Number</span>.isInteger(value)) {
                        <span class="hljs-keyword">throw</span> <span class="hljs-keyword">new</span> <span class="hljs-built_in">TypeError</span>(<span class="hljs-string">&apos;&#x5E74;&#x9F84;&#x5FC5;&#x987B;&#x4E3A;&#x6574;&#x6570;&apos;</span>);
                    }
                    <span class="hljs-keyword">if</span> (value &lt; <span class="hljs-number">18</span>) {
                        <span class="hljs-keyword">throw</span> <span class="hljs-built_in">RangeError</span>(<span class="hljs-string">&apos;&#x5E74;&#x9F84;&#x5FC5;&#x987B;&#x5927;&#x4E8E;18&#x5C81;&apos;</span>);
                    }
                    target[p] = value;
                }
                target[p] = value;
           }
       });

       proxy.age = <span class="hljs-number">12</span>;
       proxy.name = <span class="hljs-string">&apos;daliu&apos;</span>;
       <span class="hljs-built_in">console</span>.log(proxy);
       proxy.age = <span class="hljs-number">19</span>;
       <span class="hljs-built_in">console</span>.log(proxy);
    </span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<h3 id="delete">delete</h3>
<pre><code class="lang-js">&lt;script&gt;
    let json = {
        a:1,
        b:2
    };
    let proxy = new Proxy(json, {
         //do nothing
    });
    delete proxy.a; //&#x7531;&#x4E8E;&#x4E0A;&#x9762;&#x6CA1;&#x6709;&#x5199;deleteProperty, &#x56E0;&#x6B64;&#x8FD9;&#x6837;&#x5220;&#x9664;&#x5B9E;&#x9645;&#x4E0A;&#x4F1A;&#x771F;&#x7684;&#x5220;&#x9664;&#x6210;&#x529F;
    console.log(json); //{b: 2}  &#x5220;&#x9664;proxy.a&#x4F1A;&#x5BFC;&#x81F4;&#x539F;json&#x4E2D;&#x7684;&#x6570;&#x636E;&#x4E5F;&#x88AB;&#x5220;&#x9664;
&lt;/script&gt;
</code></pre>
<p>&#x793A;&#x4F8B; again:</p>
<pre><code class="lang-js">&lt;script&gt;
    <span class="hljs-keyword">let</span> json = {
        a:<span class="hljs-number">1</span>,
        b:<span class="hljs-number">2</span>
    };
    <span class="hljs-keyword">let</span> proxy = <span class="hljs-keyword">new</span> <span class="hljs-built_in">Proxy</span>(json, {
        deleteProperty(target, p) {
            <span class="hljs-built_in">console</span>.log(<span class="hljs-string">`&#x60A8;&#x8981;&#x5220;&#x9664;<span class="hljs-subst">${p}</span>&#x5C5E;&#x6027;`</span>);
            <span class="hljs-keyword">delete</span> target[p];
        }
    });

    <span class="hljs-keyword">delete</span> proxy.b; <span class="hljs-comment">//&#x8FD9;&#x4F1A;&#x8C03;&#x7528;&#x5230;deleteProperty</span>
    <span class="hljs-built_in">console</span>.log(json);
<span class="xml"><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></span>
</code></pre>
<h3 id="has">has</h3>
<pre><code class="lang-js">&lt;script&gt;
    let json = {
        a:1,
        b:2
    };
    let proxy = new Proxy(json, {
        has(target, p) {
            console.log(`&#x5224;&#x65AD;&#x662F;&#x5426;&#x5B58;&#x5728;&#x8C03;&#x7528;has&#x65B9;&#x6CD5;: ${p}`);
            return p in target;
        }
    });

    console.log(&apos;a&apos; in proxy); //true, &#x8FD9;&#x6837;&#x8C03;&#x7528;has
&lt;/script&gt;
</code></pre>
<h3 id="reflectapply">Reflect.apply</h3>
<pre><code class="lang-js">&lt;script&gt;
    console.log(Math.ceil(4.6)); //5
    //function apply(target: Function, thisArgument: any, argumentsList: ArrayLike&lt;any&gt;): any;
    let value = Reflect.apply(Math.ceil, null, [4.6]);
    console.log(value); //5
&lt;/script&gt;
</code></pre>
<p>again &#x793A;&#x4F8B;:</p>
<pre><code class="lang-js">&lt;script&gt;
    function show(...args) {
        console.log(this); //Window
        console.log(args); //[1,2,3,4]
    }
    show(1,2,3,4); //log: Window and [1,2,3,4]
    show.call(&apos;abc&apos;, 1, 2, 3, 4); // log: abc and [1,2,3,4]
    show.apply(&apos;abc&apos;, [1, 2, 3, 4]); // log: abc and [1,2,3,4]
    Reflect.apply(show, &apos;abc&apos;, [1,2,3,4]);  // log: abc and [1,2,3,4]
&lt;/script&gt;
</code></pre>
<p>Reflect&#x7684;&#x5176;&#x4ED6;&#x7528;&#x6CD5;</p>
<pre><code class="lang-js">&lt;script&gt;
    <span class="hljs-comment">//Object.assign()</span>
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">&apos;assign&apos;</span> <span class="hljs-keyword">in</span> <span class="hljs-built_in">Object</span>); <span class="hljs-comment">//true</span>
    <span class="hljs-built_in">console</span>.log(<span class="hljs-built_in">Reflect</span>.has(<span class="hljs-built_in">Object</span>, <span class="hljs-string">&apos;assign&apos;</span>)); <span class="hljs-comment">//true</span>

    <span class="hljs-keyword">let</span> json = {
        a:<span class="hljs-number">1</span>,
        b:<span class="hljs-number">2</span>
    };
    <span class="hljs-comment">//delete json.a; //a&#x88AB;&#x5220;&#x9664;</span>
    <span class="hljs-built_in">Reflect</span>.deleteProperty(json, <span class="hljs-string">&apos;a&apos;</span>); <span class="hljs-comment">//a&#x88AB;&#x5220;&#x9664;</span>
    <span class="hljs-built_in">console</span>.log(json);
<span class="xml"><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></span>
</code></pre>
<h3 id="apply">apply</h3>
<p>apply&#x662F;&#x62E6;&#x622A;&#x65B9;&#x6CD5;&#x7528;&#x7684;, &#x793A;&#x4F8B;:</p>
<pre><code class="lang-js">&lt;script&gt;
   function fn() {
       return `&#x6211;&#x662F;&#x7F57;&#x6C49;`;
   }
   let newFn = new Proxy(fn, {
        apply(target, thisArg, argArray) {
            return &apos;&#x6211;&#x662F;&#x725B;&#x7CAA;&apos;;
        }
   });
   console.log(newFn()); //&#x6211;&#x662F;&#x725B;&#x7CAA;
&lt;/script&gt;
</code></pre>
<pre><code class="lang-js">&lt;script&gt;
   function sum(a, b) {
       return a + b;
   }
   let proxy = new Proxy(sum, {
        apply(target, thisArg, argArray) {
            console.log(&apos;-------------&apos;);
            console.log(target); // f sum(a, b) {...}
            console.log(&apos;-------------&apos;);
            console.log(thisArg); //undefined  thisArg&#x662F;this&#x6307;&#x5411;&#x7684;&#x5BF9;&#x8C61;
            console.log(&apos;-------------&apos;);
            console.log(argArray); //[2, 3]
            console.log(&apos;-------------&apos;);
            //console.log(...arguments); //&#x6B64;&#x5904;arguments&#x76F8;&#x5F53;&#x4E8E;&#x524D;&#x9762;3&#x4E2A;&#x53C2;&#x6570;

            return Reflect.apply(...arguments)**2;
        }
   });

   console.log(proxy(2, 3)); //5*5 = 25
&lt;/script&gt;
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="正则.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 正则">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Proxy","level":"1.19","depth":1,"previous":{"title":"正则","level":"1.18","depth":1,"path":"正则.md","ref":"正则.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"Proxy.md","mtime":"2022-01-03T14:09:13.747Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-02-17T15:54:39.156Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

